#ifndef MOB_H_INCLUDED
#define MOB_H_INCLUDED
#include <iostream>
#include <SFML/Graphics.hpp>
#include <SFML/System.hpp>
#include <SFML/Window.hpp>
#include <SFML/Audio.hpp>

class ImgMgr;
class Player;
class Level;

class Mob
{
public:
    Mob();
    virtual void init(const sf::Vector2f position, ImgMgr *imageManager);
    virtual void maj(Player *player, Level *level);
    virtual void render(sf::RenderWindow *app);
    sf::Vector2f getPosition() const;
    void setPosition(const sf::Vector2f position);
    void setDommage(const int dommage);

protected:
    sf::Sprite m_skin[8];
    int m_currentRender;
    int m_heart;
    int m_maxHeart;
    sf::RectangleShape m_rectHeart;
    sf::Clock m_clockTick;
};



#endif // MOB_H_INCLUDED
